<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>文档影像系统-首页</title>
	<link type="text/css" rel="stylesheet" href="<%=basePath%><s:property value="#session.themeStyle.mainCss" default="Skin/PM/LightBlue/main.css"/>" />
	<script src="<%=basePath%>js/jquery.js" type="text/javascript"></script>
	<script src="<%=basePath%>js/jquery.cookie.js" type="text/javascript"></script>
	<style type="text/css">
		body {
			margin: 0px;
			font-size: 12px;
			font-family: Verdana, Arial, Helvetica, sans-serif, '宋体';
		}
		span{
			font-size: 16px;
		}
	</style>
	<script type="text/javascript">
	
		function detail(mId) {
			window.parent.location.href = "<%=basePath%>message/sysMessage-view.action?mid="+ mId;
		}
		
		function getScheduleMessageDetail(action, userId){
			window.parent.location.href = "<%=basePath%>message/sysMessage-view.action?mid="+ userId;
		}
		
	</script>
</head>
<body>
	<s:if test="sysMessagePublish!=null">
		<div id="divMessage" style="margin-left: 0px; border: 1px #3497cf solid; padding-top: 10px; margin-bottom: 10px;">
			<label style="vertical-align: middle;">
				<STRONG>&nbsp;&nbsp;系统公告：</STRONG>
				<img style="height: 20px;" src="<%=basePath%>images/icon-set_03.png" />
			</label>
			<br />
			&nbsp; &nbsp; &nbsp;
			<label>
				标题：
			</label>
			<a id="querry" onclick="detail(${sysMessagePublish.pkId})">${sysMessagePublish.title}</a>
			<br />
			&nbsp; &nbsp; &nbsp;
			<label>
				内容：
			</label>
			${sysMessagePublish.content}
			<br />
			&nbsp;
		</div>
	</s:if>
	<s:if test="sysMessagePublishList!=null&&sysMessagePublishList.size>0">
		<div style="margin-left: 10px;"><label><strong> 待办事宜<img src="../images/icon-set_03.png">：</strong></label><br>
			<ul>
			<s:iterator value="sysMessagePublishList">
				<li><label>消息标题：</label><label><s:property value="content" escape="false"/></label></li>
			</s:iterator>
			</ul>
		</div>
	</s:if>
</body>
</html>